
<table>
	<tr>
		<td align="right">流水号：</td>
		<td>{[$tran.id]}（{[$tran.emp_t]}）</td>
		<td align="right">状态：</td>
		<td>{[$tran.status_t]}</td>
	</tr>
	<tr>
		<td align="right">客户：</td>
		<td colspan="3">{[$tran.customer_x->fullname]}<br />
		地址：{[$tran.customer_x->address]} <!-- 网站：{[$tran.customer_x->web]} --></td>
	</tr>
	<tr>
		<td align="right">分类：</td>
		<td>{[$tran.type_t]}</td>
		<td align="right">银行：</td>
		<td>{[$result.bank_t]} {[$result.account_t]}</td>		
	</tr>
	<tr>
		<td width="20%" align="right">到帐日期：</td>
		<td width="30%">{[$tran.date]}</td>
		<td width="20%" align="right">是否共享：</td>
		<td width="30%">{[$tran.share_t]}</td>
	</tr>
	<tr>
		<td align="right">汇款金额：</td>
		<td>{[$result.remittance|money]} {[$tran.currency]}</td>
		<td align="right">对方费用：</td>
		<td>{[$result.fee]} {[$tran.currency]}</td>		
	</tr>
	<tr>
		<td align="right">银行金额：</td>
		<td>{[$tran.total|money]} {[$tran.currency]}</td>
		<td align="right">本地费用：</td>
		<td>{[$tran.kc]} {[$tran.currency]}</td>
	</tr>
	<tr>
		<td align="right">到帐金额：</td>
		<td colspan="3">{[$tran.amount|money]} （大写）{[$tran.currency_t]} {[$tran.amount|rmb]}</td>
	</tr>
	<tr>
		<td align="right">人民币：</td>
		<td>{[$tran.rmb|money]}</td>
		<td align="right">汇率：</td>
		<td>{[$tran.rate]}
		<a href="javascript:void(0)" id="detail" onclick="_transaction_view(this)"
			class="ui-icon ui-icon-circle-triangle-w" style="display: inline-table"></a></td>
	</tr>
	<tr id="tr_detail">
		<td align="right">银行详情：</td>
		<td colspan="3">{[$tran.detail|nl2br]}</td>
	</tr>
	<tr id="tr_content">
		<td align="right">备注：</td>
		<td id="e_content" colspan="3">{[$tran.content|nl2br]}</td>
	</tr>
	<tr>
		<td colspan="4">
		{[foreach name=outer key=key item=item from=$result.files]}
		{[assign var="no" value="`$key+1`"]}
		{[if $item.type eq 'image']}
		<a href="{[$item.url]}" class="jqzoom" rel='gal1' title="triumph" >
		<img src="{[$item.url]}" width="200" alt="{[$item.key]}"></a>
		{[else]}
		{[$item.key]}
		{[/if]}
		<a href="javascript:void(0)" onclick="jswin('finance.php?do=Transaction.download&key={[$item.key]}', 'download', '800x600')">下载</a><br/>
		{[/foreach]}
		</td>
	</tr>
	<tr>
		<td align="right">创建时间：</td>
		<td>{[$result.createtime]}</td>
		<td align="right">更新时间：</td>
		<td>{[$result.modifytime]}</td>
	</tr>
</table>

<script type="text/javascript" src="js/finance/transaction/view.js?r={[$smarty.now]}"></script>

<style type="text/css">

.jqzoom {
	display:block;
	height: 200px;
	width: 550px !important;
	border: 1px solid #EAEAEA;
	text-align: center;
	text-decoration:none;
	float:left;
}
</style>

<script type="text/javascript">
$(function() {
	
	$('.jqzoom').jqzoom({
		zoomType: 'standard',
		zoomHeight: 180,
		lens: true,
		preloadImages: false,
		alwaysOn: false
   });
});
</script>
